package com.wsoft.query.module;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author z001
 * @Date 2024/12/17 09:54
 */
@Data
public class ModuleBaseQuery {

    @NotBlank(message = "编码不能为空")
    @Schema(description = "模块编码")
    private String code;

    @NotBlank(message = "编码不能为空")
    @Schema(description = "模块名称")
    private String name;

    @Schema(description = "排序")
    private String sort;

    @Schema(description = "是否第三方")
    private Integer isThird;

    @Schema(description = "是否需要token")
    private Integer isToken;

    @Schema(description = "是否需要单点登录")
    private Integer isSign;

    @Schema(description = "是否启用")
    private Integer isEnable;

    @Schema(description = "图标")
    private String icon;
}
